Motion.StopGroup 方法

命令一個控制運動停止並將軸組狀態轉換為軸組停止 (GroupStopping)。當軸組處於軸組停止 (GroupStopping) 狀態時,無法使用任何方法在軸組上執行運動,當軸組到達速度零後,KsCommandStatusDone 欄位將立即設為 true。欲離開軸組停止 (GroupStopping) 狀態並轉換為軸組靜止 (GroupStandstill) 狀態,請使用 Api.AbortCommand

命名空間IntervalZero.KINGSTAR.Local.Api

組合: IntervalZero.KINGSTAR.Local.Api (於 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

語法

C#VB
public KsCommandStatus StopGroup(
       int Index,
       double Deceleration,
       double Jerk
)
Public Function StopGroup(
       Index As Integer,
       Deceleration As Double,
       Jerk As Double
) As KsCommandStatus

參數

Index [in]

型別:int

軸組的索引。索引以 0 為起始。最多可有 32 個軸組。

 

Deceleration [in]

型別:double

減速度值,單位由 McProfileType。[單位/秒2] 或 [秒]

 

Jerk [in]

型別:double

加加速度值,單位由 McProfileType。[單位/秒3] 或 [秒]

回傳值

型別:KsCommandStatus

回傳 KsCommandStatus 類別。

範例

C#
N/A

參見

Motion 類別

IntervalZero.KINGSTAR.Local.Api 命名空間